<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="huoyun" uri="/huoyun"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>所有应标人的详细信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
		#bidding_car_table {
			width: 400px;
			border-collapse: collapse;
			border-bottom: 1px solid #666;
		}
		
		#bidding_car_table th{
			color: #333;
			padding: 3px;
			font-family: monospace;
			background: #9cf;
			text-align: left;
			border-top: 1px solid #666;
			border-bottom: 1px solid #666;
			text-align: center;
		}
		
		#bidding_car_table td {
			padding: 3px;
			border-top: 1px solid #ccc;
			text-align: center;
		}
	</style>

  </head>
  
  <body>
  	<div style="max-height:400px; overflow-y:scorll;">
	    <table id="bidding_car_table">
			<tr style="background-color: silver;">
				<th>应标人</th>
				<th>车牌号</th>
				<th>车辆类型</th>
				<th>应标价格</th>
			</tr>
			<s:iterator value="cargoItem.bidInfoItemList" id="bidInfoItem" status="st">
				<s:if test="#bidInfoItem.bidInfo.status == 0">
					<tr>
					<td><s:property value="#bidInfoItem.user.username" /></td>
					<td><s:property value="#bidInfoItem.car.cardNumber" /></td>
					<td><huoyun:customSelect mode="carRequiredType" value="${bidInfoItem.car.type }" type="view" /></td>
					<td>&yen;<s:property value="#bidInfoItem.bidInfo.price"/>元</td>
				</tr>
				</s:if>
			</s:iterator>
		</table>
	</div>
  </body>
</html>
